package com.junjie.entity;

import java.io.Serializable;
import java.util.List;

public class User implements Serializable{
	public User() {

	}
	private int id;
	private String email;
	private String nickName;
	private String password;
	private int userIntegral;
	private boolean isEmailVerify;
	private String emailVerifyCode;
	private long lastLoginTime;
	private String lastLoginIp;
	
	/**
	 * 添加一个收件地址集合属性
	 * @return
	 */
	private List<ReceiveAddress> addressList;
	
	public List<ReceiveAddress> getAddressList() {
		return addressList;
	}
	public void setAddressList(List<ReceiveAddress> addressList) {
		this.addressList = addressList;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getUserIntegral() {
		return userIntegral;
	}
	public void setUserIntegral(int userIntegral) {
		this.userIntegral = userIntegral;
	}
	public boolean isEmailVerify() {
		return isEmailVerify;
	}
	public void setEmailVerify(boolean isEmailVerify) {
		this.isEmailVerify = isEmailVerify;
	}
	public String getEmailVerifyCode() {
		return emailVerifyCode;
	}
	public void setEmailVerifyCode(String emailVerifyCode) {
		this.emailVerifyCode = emailVerifyCode;
	}
	public long getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(long lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
}
